#include "Int_modbus.h"

void modbus_send(uint8_t *data, uint16_t len)
{
    for (uint8_t i = 0; i < len; i++)
    {
        printf("%02X ", data[i]);
    }
    printf("\r\n");
    HAL_UART_Transmit(&huart2, data, len, 100);
    HAL_Delay(1000);
}
